<table class="editTable">
    <tr>
        <td colspan="4">
            <div class="divider">
                <span>基本数字输入框</span>
            </div>
        </td>
    </tr>
    <tr>
        <td class="label">年龄</td>
        <td>
            <input type="text" name="age" data-toggle="topjui-numberbox">
        </td>
        <td class="label">工龄</td>
        <td>
            <input type="text" name="gonglin" data-toggle="topjui-numberbox" data-options="required:true,prompt:'工龄是必填字段'">
        </td>
    </tr>
    <tr>
        <td colspan="4">
            <div class="divider">
                <span>最大最小值限制</span>
            </div>
        </td>
    </tr>
    <tr>
        <td class="label">年龄</td>
        <td>
            <input type="text" name="age" data-toggle="topjui-numberbox" data-options="min:18,max:120,prompt:'输入范围18至120之间'">
        </td>
        <td class="label">工龄</td>
        <td>
            <input type="text" name="gonglin" data-toggle="topjui-numberbox" data-options="required:true,min:1,max:60,prompt:'输入范围1到60之间'">
        </td>
    </tr>
    <tr>
        <td colspan="4">
            <div class="divider">
                <span>带精度的数值输入框</span>
            </div>
        </td>
    </tr>
    <tr>
        <td class="label">年龄</td>
        <td>
            <input type="text" name="age" data-toggle="topjui-numberbox" data-options="precision:2,prompt:'保留2位小数'">
        </td>
        <td class="label">工龄</td>
        <td>
            <input type="text" name="gonglin" data-toggle="topjui-numberbox" data-options="precision:1,prompt:'保留1位小数'">
        </td>
    </tr>
    <tr>
        <td colspan="4">
            <div class="divider">
                <span>带标识的数值输入框</span>
            </div>
        </td>
    </tr>
    <tr>
        <td class="label">工资</td>
        <td>
            <input type="text" name="age" data-toggle="topjui-numberbox" data-options="prefix:'￥',prompt:'带前缀的输入'">
        </td>
        <td class="label">奖金</td>
        <td>
            <input type="text" name="gonglin" data-toggle="topjui-numberbox" data-options="suffix:'$',prompt:'带后缀的输入'">
        </td>
    </tr>
    <tr>
        <td colspan="4">
            <div class="divider">
                <span>带格式化的数值输入框</span>
            </div>
        </td>
    </tr>
    <tr>
        <td class="label">工资</td>
        <td>
            <input type="text" name="age" data-toggle="topjui-numberbox" data-options="groupSeparator:',',prompt:'输入123456789试试'">
        </td>
        <td class="label">奖金</td>
        <td>
            <input type="text" name="gonglin" data-toggle="topjui-numberbox" data-options="groupSeparator:',',precision:2,prompt:'输入1234567.89试试'">
        </td>
    </tr>
</table>